<?php
session_start();
?>
<html>
<head>


<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
#Layer1 {
	position:absolute;
	left:199px;
	top:56px;
	width:197px;
	height:34px;
	z-index:1;
}
-->
</style>
</head>

<body bgcolor="#FFFFFF">
<?php      

include("../../MerchandiseBay/conn.php");

  $username=$_SESSION['admin'];
  $SQL="select * from admin where name='".$_SESSION['admin']."'";
  //$SQL="select * from users where username='$username'";
  $qry=mysql_query($SQL,$conn);

  while($row=mysql_fetch_array($qry))
	    { 
		  extract($row);  
?>
<form name="reservation" method="post" action="profileUp.php" onSubmit="return checkData()">
  <table width="400" height="202" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td height="33" colspan="2"><div align="center">
        <p><font color="#0000FF" size="5"><strong><?php echo $name; ?> <font color="#0000FF" size="5"> 'S PROFILE </font></strong></font></p>
        <p>&nbsp;</p>
      </div></td>
    </tr>
	<tr> 
      <td width="34%" height="32"><div align="right"><font color="#000000"><strong>Name
          * :</strong></font></div></td>
      <td width="66%"><?php echo $name; ?></td>
    </tr>
	<tr> 
      <td width="34%" height="32"><div align="right"><font color="#000000"><strong>Position Job
          * :</strong></font></div></td>
      <td width="66%"><?=$job?></td>
    </tr>
    <tr> 
      <td width="34%" height="32"><div align="right"><font color="#000000"><strong> Username 
          * :</strong></font></div></td>
      <td width="66%"><?php echo $username; ?></td>
    </tr>
	<tr> 
      <td width="34%" height="32"><div align="right"><font color="#000000"><strong> Password 
          * :</strong></font></div></td>
      <td width="66%">*****</td>
    </tr>
	
   	<tr> 
      <td height="32"></td>
      <td></td>
    </tr>
	<tr> 
      <td height="32"><div align="right"></div></td>
      <td><a href="updateAdminProfile.php" target="I2" ><img src="../updatebutton.jpg" width="54" height="19" border="0"></a></td>
	</tr>
  </table>	
</form>
  	<?php
	
}	

	?>
  <p>&nbsp;</p>
  <table width="400" height="407" border="0" cellpadding="0" cellspacing="0">


    <tr>
      <td height="23" colspan="2"><p>&nbsp;</p></td>
    </tr>
    <tr>
      <td width="34%" height="22"><div align="right"></div></td>
      <td width="66%"><font face="Verdana">
       
      </font></td>
    </tr>
    <tr>
      <td height="24"><div align="right"><font color="#FF6600"></font></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="31"><div align="right"></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="31"><div align="right"></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="22"><div align="right"></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="32"><div align="right"></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2"><div align="left"> </div></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>

<p>&nbsp;<!-- PopUp Calendar BEGIN -->

<noscript><p>&nbsp;</p></noscript>
</body>
</html>
